package com.lms.logisticsmanagementsystem.model;

public class Staff{

    private Integer id;
    private String name;
    private String sex;
    private Integer age;
    private String birthDate;
    private String politicalStatus;//政治面貌
    private String address;
    private String phone;
    private String email;
    private String post;//职位
    private Float salary;
    private String note;//备注

    @Override
    public String toString() {
        return "Staff{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", birthDate='" + birthDate + '\'' +
                ", politicalStatus='" + politicalStatus + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", post='" + post + '\'' +
                ", salary=" + salary +
                ", note='" + note + '\'' +
                '}';
    }

    public Staff(Integer id, String name, String sex, Integer age, String birthDate, String politicalStatus, String address, String phone, String email, String post, Float salary, String note) {

        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.birthDate = birthDate;
        this.politicalStatus = politicalStatus;
        this.address = address;
        this.phone = phone;
        this.email = email;
        this.post = post;
        this.salary = salary;
        this.note = note;
    }

    public Staff(String name, String sex, Integer age, String birthDate, String politicalStatus, String address, String phone, String email, String post, Float salary, String note) {

        this.name = name;
        this.sex = sex;
        this.age = age;
        this.birthDate = birthDate;
        this.politicalStatus = politicalStatus;
        this.address = address;
        this.phone = phone;
        this.email = email;
        this.post = post;
        this.salary = salary;
        this.note = note;
    }

    public Staff() {
    }
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(String birthDate) {
        this.birthDate = birthDate;
    }

    public String getPoliticalStatus() {
        return politicalStatus;
    }

    public void setPoliticalStatus(String politicalStatus) {
        this.politicalStatus = politicalStatus;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public Float getSalary() {
        return salary;
    }

    public void setSalary(Float salary) {
        this.salary = salary;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
